package com.stu.dcxy.design.creatation.simplefactory;

/**
 * @Classname SaiCar
 * @Version 1.0.0
 * @Date 2022/3/30 18:29
 * @Created by yd
 */
public class SaiCar extends AbstractCar {
    public SaiCar() {
        this.engine = "赛车";
    }

    @Override
    public void run() {
        System.out.println(engine + " 飞快的跑");
    }
}
